<a href="#" onclick="javascript:none()" class="parent"><span><g:message code="nav.tab.purchase" default="Purchase"/></span></a>
<ul>
    <shiro:hasPermission permission="pickplan:index">
        <li>
            <a href="${createLink(controller: 'pickplan', action : 'index')}"><span><g:message code="pickplan.label" default="Pickplan"/></span></a>
        </li>
    </shiro:hasPermission>

    <shiro:hasPermission permission="purchase:index">
        <li>
            <a href="${createLink(controller: 'purchase', action : 'index')}"><span><g:message code="purchase.label" default="Purchase"/></span></a>
        </li>
    </shiro:hasPermission>

</ul>
